package com.vstudy.zx.dao;

import com.vstudy.zx.entity.School;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SchoolDao {
    @Select("select * from tb_school")
    List<School> selectAll();

    @Select("select * from tb_school where school_id=#{id}")
    School selectById(Integer id);
}
